package com.lzl.redisratelimit.annotation;

import java.lang.annotation.*;

@Documented
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RateLimit {

    int bucketCapacity() default 5;

    int addRate() default 1;

    int addSize() default 1;

    String scene() default "";

    String delimiter() default "_";
}
